From: Claudio Cambra Date: Wed, 26 Feb 2025 02:46:48 +0000 (+0800) Subject: gui/macOS: Use attached tooltip properties rather than creating a new tooltip in... X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~13^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=6e179afd3d9bba8fb05fbe7171eb23ac9e870fe1;p=nextcloud-desktop.git gui/macOS: Use attached tooltip properties rather than creating a new tooltip in request sync button Signed-off-by: Claudio Cambra --- diff --git a/src/gui/macOS/ui/FileProviderSyncStatus.qml b/src/gui/macOS/ui/FileProviderSyncStatus.qml index 60b138512..cd6376679 100644 --- a/src/gui/macOS/ui/FileProviderSyncStatus.qml +++ b/src/gui/macOS/ui/FileProviderSyncStatus.qml @@ -73,9 +73,8 @@ GridLayout { hoverEnabled: true onClicked: root.controller.signalFileProviderDomain(root.accountUserIdAtHost) - ToolTip { - visible: requestSyncButton.hovered - text: qsTr("Request a sync of changes for the VFS environment. macOS may ignore or delay this request.") - } + ToolTip.visible: hovered + ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval + ToolTip.text: qsTr("Request a sync of changes for the VFS environment.\nmacOS may ignore or delay this request.") } } \ No newline at end of file